package com.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.blog.entity.User;
import com.blog.mapper.UploadMapper;
import com.blog.service.UploadService;

@Service
@Transactional
public class UploadServiceImpl implements UploadService {
	//注入uploadMapper
	@Autowired
	private UploadMapper uploadMapper;
	@Override
	public void upload(User user) {
		
		uploadMapper.upload(user);
	}

}
